<?php 

namespace app\common\validate\record;

use think\Validate;

class RecordRewardPunishment extends Validate 
{ 
    protected $rule = [
        'uid' => 'require',
        'remark' => 'require',
    ];

    protected $message = [
        'uid.require' => '请输入用户ID',
        'remark.require' => '请输入原因',
    ];

    protected $scene = [
        'edit' => ['uid','remark','examine_admin_name','admin_name','reward_punishment_type','way_type','price','is_receive','id'],
        'add' => ['uid','remark','examine_admin_name','admin_name','reward_punishment_type','way_type','price','is_receive'],
    ];

} 
